import { createApp } from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';
import 'ant-design-vue/dist/antd.css';
import '@/styles/default.less';
import { AppComponents } from './app-register';
import { AntDVComponents } from './antdv-register';
import { ElementUIComponent } from './elementui-register';
import { Http } from './utils';

const app = createApp(App);
app.config.globalProperties.$http = Http.getInstance();
app.use(store);
app.use(router);
app.use(AntDVComponents);
app.use(ElementUIComponent);
app.use(AppComponents);
app.mount('#app');
